52952457778c0e4169c6b7d91a95abf2751da45f,plugins/github/src/org/jetbrains/plugins/github/ui/GithubRebaseDialog.java,GithubRebaseDialog,configure,#String#,38

Before Change


    // Preselect remote master
    final String preselected = "/" + originName + "/master";
    for (GitBranch remoteBranch : myRemoteBranches) {
      final String branchFullName = remoteBranch.getFullName();
      if (branchFullName.endsWith(preselected)){
        myOntoComboBox.setSelectedItem(remoteBranch);
        GitUIUtil.getTextField(myOntoComboBox).setText(branchFullName);

After Change


      remoteBranch = findBranch("/" + originName + "/master");
    }

    if (remoteBranch != null) {
      myOntoComboBox.setSelectedItem(remoteBranch);
      GitUIUtil.getTextField(myOntoComboBox).setText(remoteBranch.getFullName());
    }
  }